﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="RBAC.Administry.Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>基于角色访问控制</title>
    <link href="style/css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body
        {
            text-align:center;
            background-color:white;
        }
        .center
        {
            margin-left:auto;
            margin-right:auto;
            
            width:500px;
            
        }
        .middle
        {
            height:600px;
            vertical-align:middle;
        }
        .core
        {
            line-height:1.5em;
            margin:240px auto auto auto;
        }
        .txt
        {
            width:128px;
        }
        .longer
        {
            width:4em;
            text-align:center;
        }
        .btn
        {
            margin-top:8px;
            margin-right:6px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div class="center middle">
            <asp:Login ID="Login1" runat="server" CssClass="core" 
                DisplayRememberMe="False" 
                LoginButtonType="Link" 
                onauthenticate="Login1_Authenticate1"
            >
                <TextBoxStyle CssClass="txt" />
                <LoginButtonStyle CssClass="btn btn-blue longer" />
            </asp:Login>
        </div>
    </form>
</body>
</html>
